#ifndef _CROTATECOMMAND_H_
#define _CROTATECOMMAND_H_

#include "IDoUndoCommand.h"
#include "quaternion.h"

class CRotateCommand : public IDoUndoCommand
{
public:
	CRotateCommand (int sceneNodeId, quaternion oldRotation, quaternion newRotation);

	void redo ();
	void undo ();

private:
	int m_id;
	quaternion m_oldRotation;
	quaternion m_newRotation;
};

#endif
